package com.pangus.toolkits.files.download;

import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * @author yingheng chen
 * @description
 * @date 2019/12/5
 */
@EqualsAndHashCode
class DownloadPart implements Serializable {
    private static final long serialVersionUID = -3655925846487976207L;
    public int index; // part index (starting from 0).
    public long start; // start index;
    public long end; // end index;
    public boolean isCompleted; // flag of part download finished or not;
    public long length; // length of part

}
